Skip to content

[KYUUBI #7443] Fix NullPointerException when configuring the wrong SPARK_HOME#7450

Closed
maomaodev wants to merge 1 commit into
apache:masterfrom
maomaodev:kyuubi-7443
Closed

[KYUUBI #7443] Fix NullPointerException when configuring the wrong SPARK_HOME#7450
maomaodev wants to merge 1 commit into
apache:masterfrom
maomaodev:kyuubi-7443

Conversation

@maomaodev
Copy link
Copy Markdown
Contributor

@maomaodev maomaodev commented May 15, 2026

Why are the changes needed?

Fix NullPointerException when configuring the wrong SPARK_HOME. For example:

bin/kyuubi-beeline \
  -u 'jdbc:kyuubi://localhost:10009/default' \
  --conf kyuubi.engineEnv.SPARK_HOME=/path/of/not/exist

How was this patch tested?

  1. Unit test
  2. Manual test

Was this patch authored or co-authored using generative AI tooling?

Partially assisted by Claude Code (Claude Opus 4.7) for unit test.

@pan3793 pan3793 added this to the v1.10.4 milestone May 15, 2026
@pan3793 pan3793 closed this in d5a62ab May 17, 2026
pan3793 pushed a commit that referenced this pull request May 17, 2026
…ARK_HOME

### Why are the changes needed?

Fix NullPointerException when configuring the wrong SPARK_HOME. For example:
```
bin/kyuubi-beeline \
  -u 'jdbc:kyuubi://localhost:10009/default' \
  --conf kyuubi.engineEnv.SPARK_HOME=/path/of/not/exist
```

### How was this patch tested?

1. Unit test
2. Manual test

### Was this patch authored or co-authored using generative AI tooling?

Partially assisted by Claude Code (Claude Opus 4.7) for unit test.

Closes #7450 from maomaodev/kyuubi-7443.

Closes #7443

cb2e361 [lifumao] Fix NullPointerException when configuring the wrong SPARK_HOME

Authored-by: lifumao <lifumao@tencent.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit d5a62ab)
Signed-off-by: Cheng Pan <chengpan@apache.org>
pan3793 pushed a commit that referenced this pull request May 17, 2026
…ARK_HOME

### Why are the changes needed?

Fix NullPointerException when configuring the wrong SPARK_HOME. For example:
```
bin/kyuubi-beeline \
  -u 'jdbc:kyuubi://localhost:10009/default' \
  --conf kyuubi.engineEnv.SPARK_HOME=/path/of/not/exist
```

### How was this patch tested?

1. Unit test
2. Manual test

### Was this patch authored or co-authored using generative AI tooling?

Partially assisted by Claude Code (Claude Opus 4.7) for unit test.

Closes #7450 from maomaodev/kyuubi-7443.

Closes #7443

cb2e361 [lifumao] Fix NullPointerException when configuring the wrong SPARK_HOME

Authored-by: lifumao <lifumao@tencent.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
(cherry picked from commit d5a62ab)
Signed-off-by: Cheng Pan <chengpan@apache.org>
@pan3793
Copy link
Copy Markdown
Member

pan3793 commented May 17, 2026

thanks, merged to master/1.11.2/1.10.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants